#include "settingmodel.h"

SettingModel::SettingModel(const std::string& MODEL)
{
    ModelPath = QCoreApplication::applicationDirPath() + "/models/";
    _Model.append(ModelPath.toStdString() + MODEL);
    _Model.set_device( seeta::ModelSetting::CPU );
    _Model.set_id(0);
}

const seeta::ModelSetting& SettingModel::GetModel()
{
    return _Model;
}
